home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / MPW Interfaces & Libraries / CIncludes / FileTransferTools.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-29  |  1.5 KB  |  94 lines  |  [TEXT/MPS ]

  1.  
  2. /************************************************************
  3.  
  4. Created: Thursday, September 12, 1991 at 9:51 AM
  5.  FileTransferTools.h
  6.  C Interface to the Macintosh Libraries
  7.  
  8.  
  9.   Copyright Apple Computer, Inc. 1988-1991
  10.   All rights reserved
  11.  
  12. ************************************************************/
  13.  
  14.  
  15. #ifndef __FILETRANSFERTOOLS__
  16. #define __FILETRANSFERTOOLS__
  17.  
  18. #ifndef __DIALOGS__
  19. #include <Dialogs.h>
  20. #endif
  21.  
  22. #ifndef __FILETRANSFERS__
  23. #include <FileTransfers.h>
  24. #endif
  25.  
  26.  
  27. enum {
  28.  
  29.  
  30. /* Control */
  31.  ftInitMsg = 0,
  32.  ftDisposeMsg = 1,
  33.  ftSuspendMsg = 2,
  34.  ftResumeMsg = 3,
  35.  ftMenuMsg = 4,
  36.  ftEventMsg = 5,
  37.  ftActivateMsg = 6,
  38.  ftDeactivateMsg = 7,
  39.  ftGetErrorStringMsg = 8,
  40.  
  41.  ftAbortMsg = 52,
  42.  
  43.  ftStartMsg = 100,
  44.  ftExecMsg = 102,
  45.  ftSendMsg = 103,
  46.  ftReceiveMsg = 104,
  47.  
  48. /*Setup */
  49.  ftSpreflightMsg = 0,
  50.  ftSsetupMsg = 1,
  51.  ftSitemMsg = 2,
  52.  ftSfilterMsg = 3,
  53.  ftScleanupMsg = 4,
  54.  
  55. /* validate */
  56.  ftValidateMsg = 0
  57. };
  58. enum {
  59.  ftDefaultMsg = 1,
  60.  
  61. /* scripting */
  62.  ftMgetMsg = 0,
  63.  ftMsetMsg = 1,
  64.  
  65. /* localization */
  66.  ftL2English = 0,
  67.  ftL2Intl = 1
  68.  
  69. /* DEFs */
  70.  
  71. #define fdefType 'fdef'
  72. #define fsetType 'fset'
  73. #define fvalType 'fval'
  74. #define flocType 'floc'
  75. #define fscrType 'fscr'
  76.  
  77. #define fbndType 'fbnd'
  78. #define fverType 'vers'
  79. };
  80.  
  81. struct FTSetupStruct {
  82.  DialogPtr theDialog;    /* the dialog form the application */
  83.  short count;            /* first appended item */
  84.  Ptr theConfig;            /* the config record to setup */
  85.  short procID;            /* procID of the tool */
  86. };
  87.  
  88. typedef struct FTSetupStruct FTSetupStruct;
  89. typedef FTSetupStruct *FTSetupPtr;
  90.  
  91.  
  92.  
  93. #endif
  94.